package com.gm.manager.module.manager.mapper;

import com.gm.manager.common.entity.db.UserDaoEntity;
import com.gm.manager.module.manager.entity.UserInfo;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserInfoMapper {

    List<UserInfo> findAll();
    void saveUser(UserDaoEntity userDaoEntity);
    void updataUser(UserDaoEntity userDaoEntity);
    void deleteUser(Integer id);
    UserDaoEntity findUserById(Integer id);
}
